package org.jeecg.modules.demo.roomapartdistribute.service;

import org.jeecg.modules.demo.projectroom.entity.ZnzfRoom;
import org.jeecg.modules.demo.roomapartdistribute.entity.ZnzfRoomApartDistribute;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 房源单位分配
 * @Author: jeecg-boot
 * @Date:   2022-03-18
 * @Version: V1.0
 */
public interface IZnzfRoomApartDistributeService extends IService<ZnzfRoomApartDistribute> {
    List<ZnzfRoom> searchRoomListByRadId(String radId);

    /**
     * 判断分给单位的房源数据是不是等于房源列表表中的数量
     * @param checkApartId
     * @return
     */
    boolean roomToDepartEqual(String checkApartId);
}
